<?php
include_once 'include/include.php';
if (trim($_GET['action'])=="logout")
{
	$_SESSION["Madmin"]=null;
	$_SESSION["Madminid"]=null;
	$_SESSION["Mflevel"]=null;
	$_SESSION["Mcompetence"]=null;
	session_destroy();
	header("location: login.php");
}
$post[web_name] = WEB_NAME;
outFile("index");
?>